/**
 * 筛选配置
 * 菜单管理 menu-manage
 */
export default {
  'menu-manage': [
    {
      type: 'select-input',
      name: '菜单名称',
      prop: 'menuName',
      selectStyle: { width: '180px' },
      selectConfig: {
        clearable: true,
        placeholder: '请输入菜单名称',
        iconConfig: {
          type: 'suffix',
          icon: 'el-icon-search',
          isClick: true,
          style: { cursor: 'pointer' }
        }
      }
    },
    {
      type: 'select-option',
      name: '状态',
      prop: 'status',
      optionList: [],
      selectPath: 'dictList',
      selectParams: {
        codeList: ['grass-core.menu.status']
      },
      dataProp: {
        keyProp: 'grass-core.menu.status',
        nameProp: 'label',
        codeProp: 'value'
      },
      selectStyle: { width: '180px' },
      selectConfig: {
        clearable: true,
        placeholder: '请选择状态'
      }
    },
    {
      type: 'select-option',
      name: '类型',
      prop: 'type',
      optionList: [],
      selectPath: 'dictList',
      selectParams: {
        codeList: ['grass-core.menu.type']
      },
      dataProp: {
        keyProp: 'grass-core.menu.type',
        nameProp: 'label',
        codeProp: 'value'
      },
      selectStyle: { width: '180px' },
      selectConfig: {
        clearable: true,
        placeholder: '请选择类型'
      }
    },
    {
      type: 'select-option',
      name: '是否埋点',
      prop: 'isBuryingPoint',
      optionList: [],
      selectPath: 'dictList',
      selectParams: {
        codeList: ['grass-core.menu.isBuryingPoint']
      },
      dataProp: {
        keyProp: 'grass-core.menu.isBuryingPoint',
        nameProp: 'label',
        codeProp: 'value'
      },
      selectStyle: { width: '180px' },
      selectConfig: {
        clearable: true,
        placeholder: '请选择是否埋点'
      }
    }
  ]
}
